package com.project.dao;

import java.util.List;

import com.project.dao.bean.Limits;
import com.project.dao.bean.Role;

/**
 * 后台角色管理 Dao 接口
 * @author Sn
 *
 */
public interface RoleDao extends IBaseDao 
{
	
    public int save(Role role) throws Exception;
    
    public Role getRoleById(Role role) throws Exception;

    public List<Role> getRole() throws Exception;
    
    public List<Limits> getRoleLimit(Role role) throws Exception;
    
    public List<Role> getRole(Role role) throws Exception;

    public void delete(Role role) throws Exception;
    
    public void update(Role role) throws Exception;
}
